package com.zgjkhis.modules.basicsetting.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * @Author yzq
 * @Description 其他收费
 * @Date 2021/6/23 9:38
 * @Param
 * @return
 **/
@Data
public class AdditionalQueryCriteria  {

    @ApiModelProperty(value = "名称/拼音码",required = true)
    @NotNull(message = "名称不能为空")
    private String name;
    @ApiModelProperty(value = "查询类型 1：材料费用，2：检验检查，3：治疗项目，4：其他费用",required = true)
    @NotNull(message = "查询类型不能为空")
    @Range(min = 1,max = 4,message = "查询类型错误")
    private Integer type;
    @ApiModelProperty(value = "药房id")
    private String pharmacyId;

}
